home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / intuition / screens.h < prev   
C/C++ Source or Header  |  1988-07-15  |  1KB  |  66 lines

  1. #ifndef    INTUITION_SCREENS_H
  2. #define    INTUITION_SCREENS_H
  3. #ifndef    EXEC_TYPES_H
  4. #include    "exec/types.h"
  5. #endif
  6. #ifndef    GRAPHICS_GFX_H
  7. #include    "graphics/gfx.h"
  8. #endif
  9. #ifndef    GRAPHICS_CLIP_H
  10. #include    "graphics/clip.h"
  11. #endif
  12. #ifndef    GRAPHICS_VIEW_H
  13. #include    "graphics/view.h"
  14. #endif
  15. #ifndef    GRAPHICS_RASTPORT_H
  16. #include    "graphics/rastport.h"
  17. #endif
  18. #ifndef    GRAPHICS_LAYERS_H
  19. #include    "graphics/layers.h"
  20. #endif
  21. struct    Screen
  22. {
  23. struct    Screen    *NextScreen;
  24. struct    Window    *FirstWindow;
  25. SHORT    LeftEdge,    TopEdge;
  26. SHORT    Width,    Height;
  27. SHORT    MouseY,    MouseX;
  28. USHORT    Flags;
  29. UBYTE    *Title;
  30. UBYTE    *DefaultTitle;
  31. BYTE    BarHeight,    BarVBorder,    BarHBorder,    MenuVBorder,    MenuHBorder;
  32. BYTE    WBorTop,    WBorLeft,    WBorRight,    WBorBottom;
  33. struct    TextAttr    *Font;
  34. struct    ViewPort    ViewPort;
  35. struct    RastPort    RastPort;
  36. struct    BitMap    BitMap;
  37. struct    Layer_Info    LayerInfo;
  38. struct    Gadget    *FirstGadget;
  39. UBYTE    DetailPen,    BlockPen;
  40. USHORT    SaveColor0;
  41. struct    Layer    *BarLayer;
  42. UBYTE    *ExtData;
  43. UBYTE    *UserData;
  44. };
  45. #define    SCREENTYPE    0x000F
  46. #define    WBENCHSCREEN    0x0001
  47. #define    CUSTOMSCREEN    0x000F
  48. #define    SHOWTITLE    0x0010
  49. #define    BEEPING    0x0020
  50. #define    CUSTOMBITMAP    0x0040
  51. #define    SCREENBEHIND    0x0080
  52. #define    SCREENQUIET    0x0100
  53. #define    STDSCREENHEIGHT    -1
  54. struct    NewScreen
  55. {
  56. SHORT    LeftEdge,    TopEdge,    Width,    Height,    Depth;
  57. UBYTE    DetailPen,    BlockPen;
  58. USHORT    ViewModes;
  59. USHORT    Type;
  60. struct    TextAttr    *Font;
  61. UBYTE    *DefaultTitle;
  62. struct    Gadget    *Gadgets;
  63. struct    BitMap    *CustomBitMap;
  64. };
  65. #endif
  66.